<form class="form-2" name="frmlogin" method="post" action="<?php echo base_url(array('user', 'dologin')); ?>">
	<h1><span class="log-in">Log in</span> to <span class="sign-up">TradePairs</span></h1>
	<p style="margin:5px auto;" class="message">
    <?php
    	$errorMessage = $this->session->flashdata('error');
    	if(!is_null($errorMessage)){
    		echo $errorMessage;
    	}
    ?>
    </p>
	<p class="colleft"></p>
	<div class='colright'>
	    <p class="subrow">
			<label for="login"><i class="icon-user"></i>Username</label>
			<input class="text" type="text" id="login" name="login" value=""/>
		</p>
		<p class="subrow">
			<label for="password"><i class="icon-lock"></i>Password</label>
			<input class="password" id="password" type="password" name="password" value=""/>
		</p>
		<p class="clearfix"> 
			<button class="button orange">Log in</button>
		</p>
	</div>
</form>​​